package com.model;

/**
 *
 * @author Lang Van Hao
 */
public class ProductType {

    private int productTypeID;
    private String productTypeName;

    public ProductType() {
    }

    /**
     * Contructor for  ProductTypeClass
     * @param productTypeId
     * @param productTypeName
     */
    public ProductType(int productTypeId, String productTypeName) {
        this.setData(productTypeID, productTypeName);
    }

    /**
     * Method to set data for ProductTypeClass
     * @param productTypeID
     * @param productName
     */
    public void setData(int productTypeID, String productName) {
        this.setProductTypeID(productTypeID);
        this.setProductTypeName(productTypeName);
    }

    /**
     * @return the productTypeID
     */
    public int getProductTypeID() {
        return productTypeID;
    }

    /**
     * @param productTypeID the productTypeID to set
     */
    public void setProductTypeID(int productTypeID) {
        this.productTypeID = productTypeID;
    }

    /**
     * @return the productTypeName
     */
    public String getProductTypeName() {
        return productTypeName;
    }

    /**
     * @param productTypeName the productTypeName to set
     */
    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }
}
